package com.tx.admin.entity.msg;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.validation.constraints.NotBlank;

import com.tx.admin.entity.SuperEntity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@Entity
public class ExceptionEntity extends SuperEntity{

	@NotBlank
	@ApiModelProperty("标题")
	private String title;
	
	@NotBlank
	@ApiModelProperty("正文")
	@Column(columnDefinition="text")
	private String content;

}
